#import "ArchiveFileHeader.h"

@implementation ArchiveFileHeader

-(id) init
{
	self = [super init];
	
	if (self)
	{
		_fileName = nil;
		_size = 0;
		_offset = 0;
	}
	
	return self;
}

-(id) initWithFileName:(NSString *)fileName andSize:(int)size andOffset:(int)offset
{
	self = [super init];
	
	if (self)
	{
		[fileName retain];
		[_fileName release];
		
		_fileName = fileName;
		_size = size;
		_offset = offset;
	}
	
	return self;
}

-(void) dealloc
{
	[_fileName release];
	[super dealloc];
}

@synthesize FileName = _fileName;
@synthesize Size = _size;
@synthesize Offset = _offset;
@end
